<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="author" content="董邦军">
    <title>悬浮图</title>
    <style>
        body {
            padding: 0;
            margin: 0;
        }

        .top {
            height: 834px;
            background-image: url('./images/背景.jpg');
            background-repeat: no-repeat;
            background-size: 100%;
        }

        .top .search {
            position: relative;
            height: 100px;
           
        }

        .top .title {
            width: 1200px;
            text-align: center;
            position: relative;
            height: 500px;
            left: 360px;
        }

        .top .title h1 {
            color: #fff;
            position: absolute;
            top: 80px;
            font-size: 100px;
        }

        .top .title h3 {
            position: absolute;
            top: 500px;
            color: #fff;
            font-size: 35px;
            font-weight: normal;
            left: 66px;
        }

        .photo {
            position: relative;
            top: -70px;
            left: 653px;
            width: 615px;
        }

        .photo img {
            height: 200px;
            width: 400px;
        }

        .photo .img1 {
            animation: updown 4s ease-in-out infinite;
        }

        .photo .img2 {
            position: absolute;
            left: 150px;
            animation: updown 4s 1s ease-in-out infinite;
        }

        .photo .img3 {
            position: absolute;
            left: 300px;
            animation: updown 4s 2s ease-in-out infinite;
        }

        .son img {
            height: 200px;
            width: 400px;

        }

        .son1 {
            position: relative;
            top: -150px;
            z-index: -1;
            animation: show 4s ease infinite alternate;
        }

        .son2 {
            position: relative;
            left: 150px;
            top: -360px;
            z-index: -1;
            animation: show 4s 1s ease infinite alternate;
        }

        .son3 {
            position: relative;
            left: 320px;
            top: -570px;
            z-index: -1;
            animation: show 4s 2s ease infinite alternate;

        }

        @keyframes show {
            0% {
                transform: scale(1.2)
            }
            100% {
                transform: scale(1)
            }
        }

        @keyframes updown {
            0% {
                transform: translate(0, 0)
            }
            50% {
                transform: translate(0, 10px)
            }
            100% {
                transform: translate(0, 0)
            }
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="top">
            <div class="search">

            </div>
            <div class="title">
                <h1>We live to make great experiences.</h1>
                <h3>We design and develop websites, web apps, mobile apps, and more.</h3>
            </div>
        </div>
        <div class="photo">
            <img src="./images/悬浮图1.png" alt="img1" class="img1">
            <img src="./images/悬浮图2.png" alt="img2" class="img2">
            <img src="./images/悬浮图3.png" alt="img3" class="img3">
            <div class="son">
                <img src="./images/xft.png" alt="" class="son1">
                <img src="./images/xft.png" alt="" class="son2">
                <img src="./images/xft.png" alt="" class="son3">
            </div>

        </div>
        <div class="buttom"></div>
    </div>
</body>

</html>